<?php global $theme_options, $newspaper; ?>
<?php get_header(); ?>
	
	<div id="singleContent">
		<div id="archiveEntries">
			<?php $i = 1; if (have_posts()) : while (have_posts()) : the_post(); ?>	
			<div class="archivePost">
				<h2 class="archiveTitles"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a> &raquo;</h2>
				
				<?php if ( !is_category($theme_options["videoCatID"]) and !is_category($theme_options["mpPhotoGalCatID"]) ): ?>
				<?php if ($i == 1) { ?>
				<a class="highslide" onclick="return vz.expand(this)" href="<?php viva('NewsPGMPHov','6'); ?>"><img src="<?php viva('NewsInnerBig','10'); ?> " alt="<?php the_title(); ?>" /></a><?php } ?>
				<?php if ($i > 1) { ?><a class="highslide" onclick="return vz.expand(this)" href="<?php viva('NewsPGMPHov','6'); ?>"><img src="<?php viva('NewsInnerSm','11'); ?> " alt="<?php the_title(); ?>" /></a><?php } ?>
				<?php endif; ?>
				
				<?php the_excerpt(); ?>
				<div class="clear margintop"></div>
				<div class="postinfo">
					<?php the_time('F j, Y'); ?> | <?php _e("Posted in"); ?> <?php the_category(',') ?> | <a href="<?php the_permalink() ?>" rel="bookmark">Read more &raquo;</a>
				</div>
			</div>
			<?php $i++; endwhile; else : ?>
				<div class="archivePost">
					<h2 class="archiveTitles"><?php echo $newspaper["seNothing"]; ?></h2>
					<div id="entry">
					<p><strong><?php echo $newspaper["anotherS"]; ?></strong></p>
					
					<form id="anothersearch" method="get" action="<?php bloginfo('url'); ?>">
						<input name="s" id="sss" type="text" value="<?php echo $newspaper["valueSe"]; ?>" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" /> 
						<input type="submit" class="anothersubmit" value="" />
					</form>						

					</div>
				</div>
			<?php endif; ?>
			<div class="navigation">
				<div class="previous"><?php posts_nav_link('','','&laquo; '.$newspaper["previous"]) ?></div>
				<div class="next"><?php posts_nav_link('',''.$newspaper["next"].' &raquo;','') ?></div>
				<div class="clear"></div>
			</div>		
		</div>
		<div id="singlePostSidebarLeft">
			<?php include (TEMPLATEPATH . '/innerSidebarLeft.php'); ?>
		</div>
		<div class="clear"></div>
	</div>
	
	
	<div id="singlePostSidebarRight">
		<?php include (TEMPLATEPATH . '/innerSidebarRight.php'); ?>

	</div>
	<div class="clear"></div>
	
	
<?php get_footer(); ?>

</div><!-- enf od wrapper -->

</body>
</html>